package com.whut.v_dataMap.SummaryReport.Part3VO.LevelProblemVO;

import java.util.Objects;

public class RiskProblemVO {

    private String riskPoint;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof RiskProblemVO)) return false;
        RiskProblemVO problemVO = (RiskProblemVO) o;
        return Objects.equals(getRiskPoint(), problemVO.getRiskPoint());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getRiskPoint());
    }

    @Override
    public String toString() {
        return "RiskProblemVO{" +
                "riskPoint='" + riskPoint + '\'' +
                '}';
    }

    public String getRiskPoint() {
        return riskPoint;
    }

    public void setRiskPoint(String riskPoint) {
        this.riskPoint = riskPoint == null ? null : riskPoint.trim();
    }
}
